<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.usernet.product.entity.Admin"%>
<%@page import="com.usernet.product.tools.AdminRight"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<bean:message key="base"/>">
		<title><bean:message key="title" /></title>
		<meta http-equiv="content-type"	content="text/html; charset=<bean:message key="charset"/>">
		<link rel="stylesheet" type="text/css" href="resources/css/style.css">
		<script type="text/javascript">
			function toWork(param){
				var homeFrame;
		        if (document.all){//IE
		        	  homeFrame = parent.document.frames["homeFrame"];
		        	  homeFrame.document.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
		        	  homeFrame.document.close();
		        }else{//Firefox    
		        	  homeFrame = parent.document.getElementById("homeFrame").contentDocument;
		        	  homeFrame.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
		        	  homeFrame.close();
		        }
		        homeFrame.location="<bean:message key="base"/>admin.do?method=toHome&home="+param;
			}
			function showTitle(title){
				document.getElementById("txtTitle").innerText = title;
			}
			function loading(){
				var v1 = document.getElementById("loading");
				if(v1!=null)v1.style.display = "block";
				var v2 = document.getElementById("loading-mask")
				if(v2!=null)v2.style.display = "block";
			}
		</script>
	</head>
	<body onkeydown="if(event.keyCode==27) return false;">
		<jsp:include page="../inc/header.jsp"></jsp:include>
	<%
	Admin admin1 = (Admin)session.getAttribute("admin");
	%>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30" background="resources/images/other/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="resources/images/other/tab_03.gif" width="12"
									height="30" />
							</td>
							<td>
								<img align="middle" src="resources/images/other/tb.gif"
									width="16" height="16" />
								首页
							</td>
							<td width="16" height="30">
								<img src="resources/images/other/tab_07.gif" width="16"
									height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="8" background="resources/images/other/tab_12.gif">
							</td>
							<td>
								<table cellspacing="1" cellpadding="0" class="query_form_table">
									<tr>
										<td>
											<%if(admin1.getFlag()==AdminRight.admin || admin1.getFlag()==AdminRight.supers || admin1.getFlag()==AdminRight.update){ %><a href="javascript:toWork('0');"><img border="0"
													title="软件信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/system.gif"
													height="55" /></a><a href="javascript:toWork('1');"><img border="0"
													title="分类信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/dagl.gif"
													height="55" /></a><a href="javascript:toWork('10');"><img border="0"
													title="专题信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/dasz.gif"
													height="55" /></a><%} %><%if(admin1.getFlag()==AdminRight.supers){ %><a href="javascript:toWork('2');"><img border="0"
													title="评论信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/msgl.gif"
													height="55" /></a><a href="javascript:toWork('3');"><img border="0"
													title="错误信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/xfcx.gif"
													height="55" /></a><%}%><%if(admin1.getFlag()==AdminRight.admin || admin1.getFlag()==AdminRight.supers){ %><a href="javascript:toWork('5');"><img border="0"
													title="用户信息管理"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/yhgl.gif"
													height="55" /></a><%} %><%if(admin1.getFlag()==AdminRight.supers){ %><a href="javascript:toWork('11');"><img border="0"
													title="操作日志信息"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/kstkgl.gif"
													height="55" /></a><%} %><a href="javascript:toWork('8');"><img border="0"
													title="修改密码"
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/yjjg.gif"
													height="55" /></a><%if(admin1.getFlag()==AdminRight.supers){ %><a href="javascript:toWork('9');"><img border="0"
													title="添加管理员 "
													onMouseOver="showTitle(this.title);this.style.backgroundColor='#51b2f6'"
													onmouseout="showTitle('&nbsp');this.style.backgroundColor=''"
													src="resources/images/other/change.gif"
													height="55" /></a><%} %>
										</td>
									</tr>
								</table>
							</td>
							<td width="8" background="resources/images/other/tab_15.gif">
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" background="resources/images/other/tab_19.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="resources/images/other/tab_18.gif" width="12"
									height="35" />
							</td>
							<td id="txtTitle">
								&nbsp;
							</td>
							<td width="16">
								<img src="resources/images/other/tab_20.gif" width="16"
									height="35" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
<jsp:include page="../inc/footer.jsp"></jsp:include>
